//
//  AdvertisingPageViewManufacturingCell.swift
//  iModern
//
//  Created by 立雄 王 on 15/8/31.
//  Copyright (c) 2015年 com.starlooking. All rights reserved.
//

import UIKit

class AdvertisingPageViewManufacturingCell: UITableViewCell {
    
    
    @IBOutlet var label: UILabel!
    @IBOutlet var textView: UITextView!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        initLabel()
    }
    
    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
    
    //    func setData(section: String, description: String?)
    //    {
    //        label.text = section
    //        textView.text = description
    //
    //    }
    func initLabel()
    {
        let screen = UIScreen.mainScreen().bounds
        var label      = UILabel()
        let labelFrame = CGRect(x: 0, y: 2, width: screen.size.width, height: 1)
        label = UILabel(frame: labelFrame)
        label.backgroundColor = UIColor.groupTableViewBackgroundColor()
        self.addSubview(label)
    }
    
}
